//初始化一级玩法菜单
var syxwPlayRules = function() {
	var thisPanel = $(".l-c-one");
	thisPanel.empty();
	var html = '<li class="cur" onclick ="syxwSXRules()">三星</li>'
			+ '<li onclick ="syxwEXRules()">二星</li>'
			+ '<li onclick ="syxwBDWRules()">不定位</li>'
			+ '<li onclick ="syxwDWDRules()">定位胆</li>'
			+ '<li onclick ="syxwRXRules()">任选</li>'
			+ '<li onclick ="syxwDTRules()">胆拖</li>'
			+ '<li onclick ="syxwQWXRules()">趣味型</li>';
	thisPanel.html(html);
	syxwSXRules();
};

// 三星
var syxwSXRules = function() {
	var thisPanel = $(".lott-Control").find(".l-c-item");
	thisPanel.empty()
	var oneHtml = '<span>直选：</span><ul class="l-c-tow">'
			+ '<li class="cur" onclick ="Lottery_Rule.chooseRule(\'11x5qsfs\')">前三复式</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5qsds\')">前三单式</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5zsfs\')">中三复式</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5zsds\')">中三单式</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5hsfs\')">后三复式</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5hsds\')">后三单式</li></ul>';
	thisPanel.eq(0).html(oneHtml);
	var twoHtml = '<span>组选：</span><ul class="l-c-tow">'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5qszx\')">前三复式</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5qsdt\')">前三胆拖</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5zszx\')">中三复式</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5zsdt\')">中三胆拖</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5hszx\')">后三复式</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5hsdt\')">后三胆拖</li></ul>';
	thisPanel.eq(1).html(twoHtml);
	Lottery_Rule.chooseRule('11x5qsfs');
}
// 二星
var syxwEXRules = function() {
	var thisPanel = $(".lott-Control").find(".l-c-item");
	thisPanel.empty()
	var oneHtml = '<span>直选：</span><ul class="l-c-tow">'
			+ '<li class="cur" onclick ="Lottery_Rule.chooseRule(\'11x5qefs\')">前二复式</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5qeds\')">前二单式</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5hefs\')">后二复式</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5heds\')">后二单式</li></ul>';
	thisPanel.eq(0).html(oneHtml);
	var twoHtml = '<span>组选：</span><ul class="l-c-tow">'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5qezx\')">前二复式</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5qedt\')">前二胆拖</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5hezx\')">后二复式</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5hedt\')">后二胆拖</li></ul>';
	thisPanel.eq(1).html(twoHtml);
	Lottery_Rule.chooseRule('11x5qefs');
}
// 不定位
var syxwBDWRules = function() {
	var thisPanel = $(".lott-Control").find(".l-c-item");
	thisPanel.empty()
	var oneHtml = '<span>不定位：</span><ul class="l-c-tow">'
			+ '<li class="cur" onclick ="Lottery_Rule.chooseRule(\'11x5bdwqs\')">前三一码</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5bdwzs\')">中三一码</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5bdwhs\')">后三一码</li></ul>';
	thisPanel.eq(0).html(oneHtml);
	Lottery_Rule.chooseRule('11x5bdwqs');
}

// 定位胆
var syxwDWDRules = function() {
	var thisPanel = $(".lott-Control").find(".l-c-item");
	thisPanel.empty()
	var oneHtml = '<span>定位胆：</span><ul class="l-c-tow">'
			+ '<li class="cur" onclick ="Lottery_Rule.chooseRule(\'11x5dwd\')">定位胆</li>'
			+ '</ul>';
	thisPanel.eq(0).html(oneHtml);
	Lottery_Rule.chooseRule('11x5dwd');
}
// 任选
var syxwRXRules = function() {
	var thisPanel = $(".lott-Control").find(".l-c-item");
	thisPanel.empty()
	var oneHtml = '<span>任选复式：</span><ul class="l-c-tow">'
		+ '<li class="cur" onclick ="Lottery_Rule.chooseRule(\'11x5rx1z1\')">一中一</li>'
		+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5rx2z2\')">二中二</li>'
		+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5rx3z3\')">三中三</li>'
		+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5rx4z4\')">四中四</li>'
		+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5rx5z5\')">五中五</li>'
		+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5rx6z5\')">六中五</li>'
		+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5rx7z5\')">七中五</li>'
		+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5rx8z5\')">八中五</li>'
		+ '</ul>';
	thisPanel.eq(0).html(oneHtml);
	var twoHtml = '<span>任选单式：</span><ul class="l-c-tow">'
		+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5rxds1z1\')">一中一</li>'
		+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5rxds2z2\')">二中二</li>'
		+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5rxds3z3\')">三中三</li>'
		+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5rxds4z4\')">四中四</li>'
		+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5rxds5z5\')">五中五</li>'
		+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5rxds6z5\')">六中五</li>'
		+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5rxds7z5\')">七中五</li>'
		+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5rxds8z5\')">八中五</li>'
		+ '</ul>';
	thisPanel.eq(1).html(twoHtml);
	Lottery_Rule.chooseRule('11x5rx1z1');
}
// 胆拖
var syxwDTRules = function() {
	var thisPanel = $(".lott-Control").find(".l-c-item");
	thisPanel.empty()
	var oneHtml = '<span>任选：</span><ul class="l-c-tow">'
			+ '<li  class="cur" onclick ="Lottery_Rule.chooseRule(\'11x5dt2z2\')">二中二</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5dt3z3\')">三中三</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5dt4z4\')">四中四</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5dt5z5\')">五中五</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5dt6z5\')">六中五</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5dt7z5\')">七中五</li>'
			+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5dt8z5\')">八中五</li>'
			+ '</ul>';
	thisPanel.eq(0).html(oneHtml);
	Lottery_Rule.chooseRule('11x5dt2z2');
}
//趣味型
var syxwQWXRules = function() {
	var thisPanel = $(".lott-Control").find(".l-c-item");
	thisPanel.empty()
	var oneHtml = '<span>趣味型：</span><ul class="l-c-tow">'
		+ '<li class="cur" onclick ="Lottery_Rule.chooseRule(\'11x5dds\')">定单双</li>'
		+ '<li onclick ="Lottery_Rule.chooseRule(\'11x5czw\')">猜中位</li>'
		+ '</ul>';
	thisPanel.eq(0).html(oneHtml);
	Lottery_Rule.chooseRule('11x5dds');
}